﻿using FS.DataBase;
using FS.Common.DotNetConfig;
using FS.Common.DotNetCode;
using System;

namespace FS.Business
{
    public class DataFactory
    {
        public static IDbHelper Run()
        {
            //return new MySqlHelper(ConfigHelper.GetAppSettings("ConnectMYSQL"));
            return new SqlServerHelper(ConfigHelper.GetAppSettings("ConnectSqlServer"));
            //return new SqlServer2kHelper(ConfigHelper.GetAppSettings("ConnectSqlServer"));
        }
    }
}
